how to use synthetic division to evaluate functions